package com.example.tests.lesson1.hw1.tests;


import org.testng.annotations.Test;
import com.example.tests.lesson1.hw1.GroupModel;


public class Test_Group_CreateNewWithEmptyFields extends TestBase{

	@Test
	  public void testCreateGroupWithEmptyCredentials() throws Exception {
		
		goToMainPage();
		navigateToGroupList();
		openNewGroupFormPage();
			
			GroupModel group = new GroupModel().setFooter("").setName("").setHeader("");
			
			groupPopulateForm(group);
			submitGroupForm();
			returnToGroupList();
			//TODO assert group cannot be created, alert or error shown
		
	  }
}
